package b面向对象.day2.demo4_封装;

public class Test {
    public static void main(String[] args) {
        Dog d=new Dog();
        //d.age=20000;
        d.setAge(20);
        System.out.println(d.getAge());
    }
}
